<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<table width="90%" border="1" align="l">
<c:forEach items="${pageBean.data}" var="profile">
    <tr>
        <td>编号</td>
        <td>${profile.id}</td>
    </tr>
    <tr>
        <td>姓名</td>
        <td>${profile.name}</td>
    </tr>
    <tr>
        <td>生日</td>
        <td>
            <fmt:formatDate value="${profile.birthday}" pattern="yyyy-MM-dd"></fmt:formatDate>
        </td>
    </tr>
    <tr>
        <td>性别</td>
        <td>${profile.gender}</td>
    </tr>
    <tr>
        <td>职业</td>
        <td>${profile.career}</td>
    </tr>
    <tr>
        <td>住所</td>
        <td>${profile.address}</td>
    </tr>
    <tr>
        <td>电话</td>
        <td>${profile.mobile}</td>
    </tr>
    <tr>
        <input type="button" onclick="javascript:window.location.href='list.jsp';" value="返回" />
    </tr>
</c:forEach>
</table>
</body>
</html>
